.class Lcom/instagram/android/creation/b/am;
.super Landroid/os/Handler;
.source "FilterFragment.java"


# instance fields
.field final synthetic a:Lcom/instagram/android/creation/b/al;


# direct methods
.method constructor <init>(Lcom/instagram/android/creation/b/al;)V
    .locals 0
    .parameter

    .prologue
    .line 117
    iput-object p1, p0, Lcom/instagram/android/creation/b/am;->a:Lcom/instagram/android/creation/b/al;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 3
    .parameter "msg"

    .prologue
    .line 120
    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v1, 0xca0

    if-ne v0, v1, :cond_1

    .line 121
    iget-object v0, p0, Lcom/instagram/android/creation/b/am;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->a(Lcom/instagram/android/creation/b/al;)Lcom/instagram/android/creation/b/bm;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/instagram/android/creation/b/am;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->a(Lcom/instagram/android/creation/b/al;)Lcom/instagram/android/creation/b/bm;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/creation/b/bm;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 122
    iget-object v0, p0, Lcom/instagram/android/creation/b/am;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->a(Lcom/instagram/android/creation/b/al;)Lcom/instagram/android/creation/b/bm;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/creation/b/bm;->dismiss()V

    .line 141
    :cond_0
    :goto_0
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 142
    return-void

    .line 124
    :cond_1
    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v1, 0xca1

    if-ne v0, v1, :cond_3

    .line 127
    iget-object v0, p0, Lcom/instagram/android/creation/b/am;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->b(Lcom/instagram/android/creation/b/al;)Lcom/instagram/ui/a/d;

    move-result-object v0

    if-eqz v0, :cond_2

    .line 128
    iget-object v0, p0, Lcom/instagram/android/creation/b/am;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->b(Lcom/instagram/android/creation/b/al;)Lcom/instagram/ui/a/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/ui/a/d;->dismiss()V

    .line 129
    iget-object v0, p0, Lcom/instagram/android/creation/b/am;->a:Lcom/instagram/android/creation/b/al;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/instagram/android/creation/b/al;->a(Lcom/instagram/android/creation/b/al;Lcom/instagram/ui/a/d;)Lcom/instagram/ui/a/d;

    .line 132
    :cond_2
    iget-object v0, p0, Lcom/instagram/android/creation/b/am;->a:Lcom/instagram/android/creation/b/al;

    new-instance v1, Lcom/instagram/ui/a/d;

    iget-object v2, p0, Lcom/instagram/android/creation/b/am;->a:Lcom/instagram/android/creation/b/al;

    invoke-virtual {v2}, Lcom/instagram/android/creation/b/al;->j()Landroid/support/v4/app/j;

    move-result-object v2

    invoke-direct {v1, v2}, Lcom/instagram/ui/a/d;-><init>(Landroid/content/Context;)V

    invoke-static {v0, v1}, Lcom/instagram/android/creation/b/al;->a(Lcom/instagram/android/creation/b/al;Lcom/instagram/ui/a/d;)Lcom/instagram/ui/a/d;

    .line 133
    iget-object v0, p0, Lcom/instagram/android/creation/b/am;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->b(Lcom/instagram/android/creation/b/al;)Lcom/instagram/ui/a/d;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/creation/b/am;->a:Lcom/instagram/android/creation/b/al;

    sget v2, Lcom/facebook/ba;->loading:I

    invoke-virtual {v1, v2}, Lcom/instagram/android/creation/b/al;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/ui/a/d;->a(Ljava/lang/String;)V

    .line 134
    iget-object v0, p0, Lcom/instagram/android/creation/b/am;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->b(Lcom/instagram/android/creation/b/al;)Lcom/instagram/ui/a/d;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/instagram/ui/a/d;->setCancelable(Z)V

    .line 135
    iget-object v0, p0, Lcom/instagram/android/creation/b/am;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->b(Lcom/instagram/android/creation/b/al;)Lcom/instagram/ui/a/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/ui/a/d;->show()V

    goto :goto_0

    .line 136
    :cond_3
    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v1, 0xca2

    if-ne v0, v1, :cond_0

    .line 137
    iget-object v0, p0, Lcom/instagram/android/creation/b/am;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->d(Lcom/instagram/android/creation/b/al;)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/creation/b/am;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v1}, Lcom/instagram/android/creation/b/al;->c(Lcom/instagram/android/creation/b/al;)Landroid/view/animation/Animation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 138
    iget-object v0, p0, Lcom/instagram/android/creation/b/am;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->d(Lcom/instagram/android/creation/b/al;)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method
